/* 首页样式 */
/* 版心 */
.wrapper {
  margin: 0 auto;
  width: 1200px;
}
body{
  background-color: #f3f5f7;
}
 .header{
   height: 100px;
   background-color: #fff;
 }
 .header .wrapper{
     display: flex;
     padding-top:29px ;
 }
 .logo a{
     display: block;
     width: 195px;
     height: 41px;
     background-image: url(../images/logo.png);
     font-size: 0;
 }
 /*导航*/
 .nav {
     margin-left:102px;
     color: #333;
 }
 .nav ul{
     display: flex;
 }
 .nav li{
     margin-right: 24px;
 }
 .nav li a {
    display: block;
    padding: 6px 8px;
    line-height: 27px;
     font-size: 19px;
 }
 .nav li .active,
 .nav li a:hover {
  border-bottom: 2px solid #00a4ff;
 }
 /*搜索区域*/
.search {
    display: flex;
    width: 412px;
    height: 40px;
    margin-left: 64px;
    padding-left: 19px;
    padding-right: 12px;
    border-radius:20px;
    background-color: #f3f5f7;
}
.search input{
    flex: 1;
    border: 0;
    background-color: transparent;
    outline: none;
}
/*::placeholder 选中就是 placeholder 属性文字的样式*/
.search  input::placeholder{
    font-size: 14px;
    color: #999;
    line-height:90px;
}
/*父级已经变成了弹性盒子,子集也会变成,弹性盒子加宽高生效*/
.search a {
    width: 16px;
    height: 16px;
    align-self: center;
    background-image: url(../images/search.png);
}
.user {
    margin-top: 4px;
    margin-left: 32px;
}
.user img{
    margin-right: 7px;
    vertical-align: middle;
}
.user span{
    color: #666;

}

/*banner区域*/
.banner {
    background-color: #0092cb;
}
.banner .wrapper{
    display: flex;
    justify-content: space-between;
    height: 420px;
    background-image: url(../uploads/banner.png);
}
/*测导航*/
.banner .wrapper .left{
    padding: 3px 20px;
    width: 191px;
    height: 420px;
    background-color: rgba(0,0,0,0.42);
}
.banner  .left a{
    display: block;
    height: 46px;
    background: url(../images/right.png) no-repeat right center;
    line-height: 46px;
    font-size: 16px;
    color: #fff;
}
 .left li a:hover{
  background-image: url(../images/right-hover.png);
  color: #00a4ff;
}
/* 课程表 */
.banner .wrapper .right{
    width: 218px;
    height: 305px;
    margin-top: 60px;
    background-color: #209dd5;
    border-radius: 10px;
}
.banner .right h3{
    margin-left: 14px;
    height: 48px;
    line-height: 48px;
    font-size: 15px;
    font-weight: normal;
    color: #fff;
}


.banner .right .content {
    height: 257px;
    padding: 14px;
    background-color: #fff;
    border-radius: 10px;
}
.banner .right dl{
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e0e0e0;
}
.banner .right dt{
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}
.banner .right  dd{
    font-size: 14px;
    line-height: 16px;
}
.banner .right dd span{
    color: #00a4ff;
}
.banner .right dd strong{
    color: #7d7d7d;
    font-weight: normal;
}
.banner .right .button {
    padding: 6px 67px;
    background-color: #00a4ff;
    border-radius:15px;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

/*精品推荐区域*/
.recommend {
    display: flex;
    margin-top: 11px;
    padding: 0 20px;
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(211, 211, 211, 0.5);
}
 .recommend h3{
     font-size: 18px;
     color: #00a4ff;
     font-weight:  normal;
}
.recommend ul{
    display: flex;
    margin-left: 20px;
    margin-right: 45px;
    flex: 1;
    justify-content: space-between;

}
.recommend ul a{
    padding-right: 24px;
    margin-right:24px;
    border-right: solid 1px #e0e0e0;

}
.recommend ul  li:last-child a{
    border: none;
}
.recommend a {
    font-size: 16px;
    color: #00a4ff;
}
.course {
    height: 601px;
}
h3{
    font-size: 21px;
    font-weight: normal;
}
/*标题 -公共类,与其他区域共用*/
.hd{
    margin-top: 31px;
    height: 60px;
    line-height: 60px;
    justify-content: space-between;
    display: flex;
    font-size: 14px;
    color: #999;
    background: url(../images/more.png) no-repeat right ;
    padding-right: 20px;
}
.bd ul{
    display: flex;
    flex-wrap:wrap;
    justify-content: space-between;
}
/*课程内容-公共类*/
.bd li{
    margin-bottom: 14px;
    width: 228px;
    height: 271px;
}
/*课程内容-公共类*/
.bd li .pic{
    height: 156px;
    background-image: url(../uploads/course01.png);
}
.bd li .text {
    padding: 20px;
    height: 115px;
    background-color: #f9fafb;
}
.bd li .text h4{
    margin-bottom: 13px;
    font-weight: normal;
    height: 40px;
    font-size: 14px;
    line-height: 20px;
}
.bd li .text p{
    font-size: 14px;
    line-height: 20px;
    color: #999;
}
.bd li .text p span{
    color: #fa6400;
}
.bd li .text p i{
    font-style: normal;
}
/*前端*/
.hd ul{
    display: flex;

}
.hd li{
    margin-right: 60px;
    font-size: 16px;
}
.hd li .active{
    color: blue;
}
.bd {
    display: flex;
    justify-content: space-between;
}
.bd .left{
    width: 228px;
    background-color: pink;
}
.bd .right{
    width: 957px;
    background-color: pink;
}
